package com.example.vue_shop.components.role.entity;

import com.example.vue_shop.components.rights.entity.TreeRights;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author lipengwei
 */
@Data
public class TreeRole extends Role{
    @ApiModelProperty(value = "子角色", name = "children", example = "1",
            dataType = "List<TreeRights>", hidden = true)
    private List<TreeRights> children;
}
